package com.hzzc.api;

import java.io.Serializable;


public class SSOResourceView implements Serializable {

    private Long id;
    /**
     * 名字
     */
    private String name;

    /**
     * 资源定位符
     */
    private String locator;

    private String code;


    /**
     * 描述
     */
    private String msg;

    /**
     * 系统Id
     */
    private Long applicationId;

    /**
     * 父级资源Id
     */
    private Long parentResourceId = 0L;

    /**
     * 是否是操作的标记
     */
    private boolean actionFlag = false;

    public String getCode() {
        return code;
    }

    public SSOResourceView setCode(String code) {
        this.code = code;
        return this;
    }

    public boolean isActionFlag() {
        return actionFlag;
    }

    public Long getId() {
        return id;
    }

    public SSOResourceView setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public SSOResourceView setName(String name) {
        this.name = name;
        return this;
    }

    public String getLocator() {
        return locator;
    }

    public SSOResourceView setLocator(String locator) {
        this.locator = locator;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public SSOResourceView setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public Long getApplicationId() {
        return applicationId;
    }

    public SSOResourceView setApplicationId(Long applicationId) {
        this.applicationId = applicationId;
        return this;
    }

    public Long getParentResourceId() {
        return parentResourceId;
    }

    public SSOResourceView setParentResourceId(Long parentResourceId) {
        this.parentResourceId = parentResourceId;
        return this;
    }

    public boolean getActionFlag() {
        return actionFlag;
    }

    public SSOResourceView setActionFlag(boolean actionFlag) {
        this.actionFlag = actionFlag;
        return this;
    }
}
